#ifndef __BSP_FLASH_H__
#define __BSP_FLASH_H__

#include <stdio.h>
#include "main.h"

#define bsp_flash_read(param, addr)	param = *((typeof(param)*)(addr))

void bsp_flash_write(uint32_t start_addr, uint16_t *data, uint32_t len);
void bsp_flash_read_buff(uint32_t start_addr, uint8_t *data, uint32_t len);
#endif



